package com.gpframework.module.wages.mapper;

import com.gpframework.module.wages.domain.GzMonthlySalesCommission;
import com.gpframework.module.wages.domain.vo.GzMonthlySalesCommissionVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;

import java.util.Date;
import java.util.List;
/**
 * @ClassName GzMonthlySalesCommission
 * @Author gpframework
 * @Date 2024-01-24
 * @Version 1.0.0
 * @Description 销售月度提成Mapper接口
 */
public interface GzMonthlySalesCommissionMapper extends BaseMapper<GzMonthlySalesCommission> {

    /**
    * 列表
    * @param lqw
    * @return
    */
    List<GzMonthlySalesCommissionVo> listVo(@Param("ew") QueryWrapper<GzMonthlySalesCommission> lqw);

    /**
    * 对象
    * @param id
    * @return
    */
    GzMonthlySalesCommissionVo getVo(@Param("id")Long id);

    void delelteMonth(Date month);

    List<GzMonthlySalesCommissionVo> listVoed(@Param("ew") QueryWrapper<GzMonthlySalesCommission> lqw);
}
